# Contributor: <xmingske@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_pkgname=django-simple-captcha
pkgname=py3-$_pkgname
pkgver=0.5.18
pkgrel=0
pkgdesc="simple, yet highly customizable Django application to add captcha images to any Django"
url="https://github.com/mbi/django-simple-captcha"
arch="noarch"
license="MIT"
depends="python3 py3-django py3-pillow" # Missing django-ranged-response
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="$_pkgname-$pkgver.tar.gz::https://github.com/mbi/django-simple-captcha/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
bdfc75797f19362408406bad190f5758a11d706fe8e8f69366305c5bcb507d756e424f96b4c65d0b59ed95de919af0661079ab1d4c4321fe442b134e97f4ed0b  django-simple-captcha-0.5.18.tar.gz
"
